<?php

class asWidgetReadOnly extends sfWidgetForm {

    protected function configure($options = array(), $attributes = array()) {
        parent::configure($options, $attributes);
    }

    public function render($name, $value = null, $attributes = array(), $errors = array()) {
        if($value == '') $value = 'N/A';
        return "<div>$value</div>";
    }

}
